package com.deco.dao.logic.variableSpeed;

import com.deco.dao.domain.table.Variablespeed;
import com.deco.dao.mapper.VariablespeedMapper;
import com.free.ext.mybatis.dao.BaseDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 说明：
 * 创建人：Q879095880
 */
@Component
public class VariableSpeedDao extends BaseDao<Variablespeed,Integer> {
    @Autowired
    private VariablespeedMapper variablespeedMapper;

    public List<Variablespeed> getList(Variablespeed variablespeed){
        return variablespeedMapper.getList(variablespeed);
    }

    public List<Variablespeed>getLike(String brand){
        return variablespeedMapper.getLike(brand);
    }

    public List<Variablespeed>getByBrand(Variablespeed variablespeed){
        return variablespeedMapper.getByBrand(variablespeed);
    }

    public List<Variablespeed> getInfo(Variablespeed variablespeed){
        return variablespeedMapper.getInfo(variablespeed);
    }

    public List<Variablespeed> getByvehicletype(Variablespeed variablespeed){
        return variablespeedMapper.getByvehicletype(variablespeed);
    }

    public  List<Variablespeed> getByvehcleId(String levelId,String tid){
        return variablespeedMapper.getByvehcleId(levelId,tid);
    }

    public List<Variablespeed> getByLevelId(String levelId){
        return variablespeedMapper.getByLevelId(levelId);
    }

}
